home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_ai / fft < prev    next >
Text File  |  1994-02-21  |  870b  |  34 lines

  1. fft:
  2.  
  3. Syntax:    fft ( X )
  4.     fft ( X , N )
  5.  
  6. Description:
  7.  
  8.     Fft utilizes the FFTPACK subroutine CFFTF to compute a
  9.     discrete forward Fourier transform of the input.
  10.  
  11.     If fft is used with a second argument, N, then the matrix X is
  12.     either padded with zeros, or truncated till it is of length N
  13.     (if X is a vector), or has row dimension N (if it is a
  14.     matrix).
  15.  
  16.     Subroutine CFFTF computes the forward complex discrete Fourier
  17.     transform (the Fourier analysis). equivalently , CFFTF
  18.     computes the Fourier coefficients of a complex periodic
  19.     sequence.
  20.  
  21.     for j=1,...,n
  22.     
  23.            c(j)=the sum from k=1,...,n of
  24.     
  25.                  c(k)*exp(-i*(j-1)*(k-1)*2*pi/n)
  26.     
  27.                        where i=sqrt(-1)
  28.  
  29.     The argument X must be a matrix. If X is a row, or column
  30.     matrix then a vector fft is performed. If X is a MxN matrix
  31.     then the N columns of X are fft'ed.
  32.  
  33. See Also: ifft
  34.